home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-09-17 | 2.1 KB | 92 lines | [TEXT/MPS ] |
- #
- # MakeFile PortList
- #
- # This code is the property of Delta Tao Software, Inc.
- # If you distribute this code or any derivative of it in any fashion
- # we may and will come after your ass and take everything you have
- # and everything you will every get anywhere in the universe for
- # all of time.
- #
- # **Warning** this code is god-like and perfect. When we work
- # on it choirs of angels gather around and sing. Mortals must keep
- # out. This code is so blindingly beautiful that your eyes will melt
- # if you look at it.
- #
- # Copyright (C) 1993 Delta Tao Software, Inc. All rights reserved.
- # Use by license only. 408-730-9336.
- #
-
- #
- # define the application and directories
- #
- Signature = 'none'
- ExtName = PortList
- DstName = ZZPortList
-
-
- #
- # the default rules and directory rules
- # whenever something is dependent on a file that ends in .c.o
- # and there is no other rule to build that file then
- # these rules are used to build that file
- #
- .c.o ƒ .c
- C {default}.c -o {default}.c.o {DefCOptions}
-
-
- #
- # define the rez options
- # -a append
- # -ov overwrite existing
- # -o output file
- # -c creator
- # -t type
- #
- RezOptions = -a -ov -c {Signature} -t INIT
-
-
- #
- # define the c options, object files, libraries,
- # common dependencies, and include files
- # -b2 put string literals in code
- # -mbg full full macsbug symbols
- # -r rigorous type checking
- # -t show compile times
- # -i search the local includes directory
- #
- DefCOptions = -b2 -mbg full -opt full -r -t -mc68020
- ObjectFiles = PortList.c.o ∂
- Glue.a.o ∂
- #
- CommonDeps = MakeFile ∂
- #
- LibFiles = #{Libraries}Interface.o ∂
- #
-
-
- #
- # Compile the source files
- #
- PortList.c.o ƒ {CommonDeps}
- Glue.a.o ƒ {CommonDeps}
-
-
- #
- # Link the source code
- #
- {ExtName} ƒƒ {ObjectFiles}
- Link -o {ExtName} -c {Signature} -t INIT -rt INIT=128 ∂
- -ra =resSysHeap,resLocked,resProtected,resPreload ∂
- -m PLPortList ∂
- {ObjectFiles} {LibFiles} ∂
- #
- Duplicate -y {ExtName} "{ExtensionsFolder}"{DstName}
-
- #
- # Add the resources
- #
- #{ExtName} ƒƒ {ExtName}.rsrc
- # Echo 'include "'{ExtName}.rsrc'";' | Rez {RezOptions} -o {ExtName}
- # SetFile {ExtName} -a iB
- # Duplicate -y {ExtName} "{ExtensionsFolder}"{DstName}
-